//
//  TitleCollectionViewCell.m
//  Shine
//
//  Created by 俞青武 on 16/3/11.
//  Copyright © 2016年 王斌. All rights reserved.
//

#import "TitleCollectionViewCell.h"



@implementation TitleCollectionViewCell

- (id)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView{
    self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, 20)];
    [self addSubview:self.titleLabel];
    self.titleLabel.font = [UIFont systemFontOfSize:17];
    self.titleLabel.textAlignment = NSTextAlignmentCenter;
    self.titleLabel.textColor = COLORYELLO;
    self.lineView = [[UIView alloc] initWithFrame:CGRectMake(0, 22, WIDTH_SCREEN/4, 3)];
    [self addSubview:self.lineView];
}


@end
